TARGET = FinalProject.ko
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

obj-m += FinalProject.o

default:
	$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules
	
clean:
	$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) clean
